package net.osweb.crm.modules.tools.bean;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Supportfaq entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tools_supportfaq")
public class SupportFaq implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -7027344624691120737L;
	private Integer id;
	private Integer userid;
	private String questionname;
	private String questioncontext;
	private String category;
	private String product;
	private String author;
	private Timestamp createtime;
	private Timestamp modifiedtime;
	private Integer solved;
	private String comment;

	// Constructors

	/** default constructor */
	public SupportFaq() {
	}

	/** full constructor */
	public SupportFaq(Integer userid, String questionname,
			String questioncontext, String category, String product,
			String author, Timestamp createtime, Timestamp modifiedtime,
			Integer solved, String comment) {
		this.userid = userid;
		this.questionname = questionname;
		this.questioncontext = questioncontext;
		this.category = category;
		this.product = product;
		this.author = author;
		this.createtime = createtime;
		this.modifiedtime = modifiedtime;
		this.solved = solved;
		this.comment = comment;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "userid")
	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	@Column(name = "questionname")
	public String getQuestionname() {
		return this.questionname;
	}

	public void setQuestionname(String questionname) {
		this.questionname = questionname;
	}

	@Column(name = "questioncontext")
	public String getQuestioncontext() {
		return this.questioncontext;
	}

	public void setQuestioncontext(String questioncontext) {
		this.questioncontext = questioncontext;
	}

	@Column(name = "category")
	public String getCategory() {
		return this.category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	@Column(name = "product")
	public String getProduct() {
		return this.product;
	}

	public void setProduct(String product) {
		this.product = product;
	}

	@Column(name = "author")
	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	@Column(name = "createtime", length = 19)
	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	@Column(name = "modifiedtime", length = 19)
	public Timestamp getModifiedtime() {
		return this.modifiedtime;
	}

	public void setModifiedtime(Timestamp modifiedtime) {
		this.modifiedtime = modifiedtime;
	}

	@Column(name = "solved")
	public Integer getSolved() {
		return this.solved;
	}

	public void setSolved(Integer solved) {
		this.solved = solved;
	}

	@Column(name = "comment")
	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}